package com.happy_hao.user.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.happy_hao.user.common.Result;
import com.happy_hao.user.dto.CreateUserRequest;
import com.happy_hao.user.dto.UpdateUserRequest;
import com.happy_hao.user.po.User;

public interface UserService extends IService<User> {
    Result createUser(CreateUserRequest createUserRequest);

    Result readUserById(Long id);

    Result updateUser(UpdateUserRequest updateUserRequest);

    Result deleteUser(Long id);

    Result readUserByIdentifier(String identifier);
}
